![]() |
ThreadEndCritical |
||||
Header: | Threads.h | Carbon status: | Supported | |
Indicates that the thread is leaving a critical code section.
OSErr ThreadEndCritical ();
A result code.
After a call to the Thread, all scheduling operations are now available to the application.
Use the ThreadBeginCritical function to mark the beginning of a critical code section and turn scheduling off.
If you need to set the state of the current thread before scheduling is turned back on, use the SetThreadStateEndCritical function.
Supported in Carbon. Available in CarbonLib 1.0 and later when ThreadsLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by ThreadsLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)